﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using LeadThing.AbpZeroTemplate.AssessmentReports.Dtos;
using LeadThing.AbpZeroTemplate.Dto;

namespace LeadThing.AbpZeroTemplate.AssessmentReports
{
    /// <summary>
    /// 评估报告报备情况服务接口
    /// </summary>
    public interface IAssessmentReportAppService : IApplicationService
    {
        #region 评估报告报备情况管理

        /// <summary>
        /// 根据查询条件获取评估报告报备情况分页列表
        /// </summary>
        Task<PagedResultDto<AssessmentReportListDto>> GetPagedAssessmentReportsAsync(GetAssessmentReportInput input);

        /// <summary>
        /// 通过Id获取评估报告报备情况信息进行编辑或修改 
        /// </summary>
        Task<GetAssessmentReportForEditOutput> GetAssessmentReportForEditAsync(NullableIdDto<long> input);

        /// <summary>
        /// 通过指定id获取评估报告报备情况ListDto信息
        /// </summary>
        Task<AssessmentReportListDto> GetAssessmentReportByIdAsync(EntityDto<long> input);



        /// <summary>
        /// 新增或更改评估报告报备情况
        /// </summary>
        Task CreateOrUpdateAssessmentReportAsync(CreateOrUpdateAssessmentReportInput input);





        /// <summary>
        /// 新增评估报告报备情况
        /// </summary>
        Task<AssessmentReportEditDto> CreateAssessmentReportAsync(AssessmentReportEditDto input);

        /// <summary>
        /// 更新评估报告报备情况
        /// </summary>
        Task UpdateAssessmentReportAsync(AssessmentReportEditDto input);

        /// <summary>
        /// 删除评估报告报备情况
        /// </summary>
        Task DeleteAssessmentReportAsync(EntityDto<long> input);

        /// <summary>
        /// 批量删除评估报告报备情况
        /// </summary>
        Task BatchDeleteAssessmentReportAsync(List<long> input);

        #endregion

        #region Excel导出功能

        /// <summary>
        /// 获取评估报告报备情况信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetAssessmentReportToExcel();

        #endregion

    }
}
